<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>hexo+github pages博客搭建 - Tbaglee's Blog</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<link rel="canonical" href="https://www.tbaglee.top/2021/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/">
<link rel="icon" type="image/x-icon" href="/favicon.ico">

<meta name="description" content="1. 准备工作 1.1. git 和 node.js安装 1.2. npm 和 cnpm 2. Hexo 2.1 hexo安装 2.2 hexo 配置 3. github 3.1 配置 SSH key 4. 部署到github 5. 发表博客 6. 更换主题及完善 7. 博客进一步优化 1. 准备工作 1.0.1. git 和 node.js安装 git ，一个分布式版本控制系统，用于项目的版本">
<meta property="og:type" content="website">
<meta property="og:title" content="hexo+github pages博客搭建">
<meta property="og:url" content="https://www.tbaglee.top/2021/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/index.html">
<meta property="og:site_name" content="Tbaglee&#39;s Blog">
<meta property="og:description" content="1. 准备工作 1.1. git 和 node.js安装 1.2. npm 和 cnpm 2. Hexo 2.1 hexo安装 2.2 hexo 配置 3. github 3.1 配置 SSH key 4. 部署到github 5. 发表博客 6. 更换主题及完善 7. 博客进一步优化 1. 准备工作 1.0.1. git 和 node.js安装 git ，一个分布式版本控制系统，用于项目的版本">
<meta property="og:locale" content="en_US">
<meta property="og:image" content="https://i.loli.net/2021/01/26/B7uoIqv684rFnGi.png">
<meta property="article:published_time" content="2021-01-25T12:22:44.000Z">
<meta property="article:modified_time" content="2021-01-26T02:59:01.742Z">
<meta property="article:author" content="tbaglee">
<meta property="article:tag" content="hexo">
<meta property="article:tag" content="valine">
<meta property="article:tag" content="travis">
<meta property="article:tag" content="git">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://i.loli.net/2021/01/26/B7uoIqv684rFnGi.png">
<script type="application/ld+json">[{"@context":"http://schema.org","@type":"WebSite","publisher":{"@type":"Person","name":"tbaglee","description":"Stay hungry, stay foolish. 永远年轻，永远热泪盈眶。","image":"https://www.tbaglee.top/avatar.png"},"url":"https://www.tbaglee.top","image":"https://www.tbaglee.top/avatar.png","description":"","author":{"@type":"Person","name":"tbaglee","description":"Stay hungry, stay foolish. 永远年轻，永远热泪盈眶。","image":"https://www.tbaglee.top/avatar.png"},"inLanguage":{"@type":"Language","alternateName":"en"}},{"@context":"http://schema.org","@type":"Article","articleSection":"技术","url":"https://www.tbaglee.top/2021/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/","headline":"hexo+github pages博客搭建","image":"https://i.loli.net/2021/01/26/B7uoIqv684rFnGi.png","datePublished":"2021-01-25T12:22:44.000Z","dateModified":"2021-01-26T02:59:01.742Z","keywords":"hexo,valine,travis,git","description":"","publisher":{"@type":"Organization","name":"Tbaglee's Blog","logo":{"@type":"ImageObject","url":"https://www.tbaglee.top/avatar.png"}},"author":{"@type":"Person","name":"tbaglee","description":"Stay hungry, stay foolish. 永远年轻，永远热泪盈眶。","image":"https://www.tbaglee.top/avatar.png"},"inLanguage":{"@type":"Language","alternateName":"en"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://www.tbaglee.top/2021/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/"},"thumbnailUrl":"https://i.loli.net/2021/01/26/B7uoIqv684rFnGi.png"}]</script>

<!-- hexo injector head_end start --><link href="//cdn.jsdelivr.net/gh/tbagslee/tbagslee.github.io@v0.1.0/font.css" rel="stylesheet"><link href="/lib/font-awesome/css/font-awesome.min.css" rel="stylesheet"><link href="/iconfont.css" rel="stylesheet"><link href="/styles.43478ea7e28ed563c48b.css" rel="stylesheet">
<script src="/config.ebed5492cad4a0d2312a.js"></script>

<link rel="stylesheet" href="/theme.0e22b616cf8480d198c9.css" is="theme">
<!-- hexo injector head_end end --><meta name="generator" content="Hexo 5.3.0"></head>
<body lang="en"><!-- hexo injector body_begin start --><is-a></is-a><!-- hexo injector body_begin end --><!-- hexo injector body_end start --><script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script><script src="//unpkg.com/valine/dist/Valine.min.js"></script><script src="/theme.js"></script><script src="/darkmode.js"></script><script src="/palette.js"></script><script src="/runtime.b15aa7186c559b492b7d.js"></script><script src="/polyfills.824ff89b5f3ca4543a31.js"></script><script src="/main.03652fc423a687c817e8.js"></script><!-- hexo injector body_end end --></body>
</html>
